Learn R Programming

poppr (version 1.1.5)

[,genclone,ANY,ANY,ANY-method: Methods used for the genclone object

Description

Default methods for subsetting genclone objects.

Usage

## S3 method for class 'genclone,ANY,ANY,ANY':
[(x, i, j, ..., loc = NULL,
  treatOther = TRUE, quiet = TRUE, drop = FALSE)

## S3 method for class 'genclone': initialize(.Object, gen, hierarchy, mlg)

## S3 method for class 'genclone': show(object)

## S3 method for class 'genclone': print(x, ...)

Arguments

x
a genclone object
i
vector of numerics indicating number of individuals desired
j
a vector of numerics corresponding to the loci desired.
...
passed on to the genind object.
loc
passed on to genind object.
treatOther
passed on to genind object.
quiet
passed on to genind object.
drop
set to FALSE
.Object
a character, "genclone"
gen
"genind" object
hierarchy
a data frame where each row i represents the different population assignments of individual i in the data set. If this is empty, the hierarchy will be created from the population factor.
mlg
a vector where each element assigns the multilocus genotype of that individual in the data set.
object
a genclone object
x
a genclone object
fullnames
logical. If TRUE, then the full names of the populations will be printed. If FALSE, then only the first and last three population names are displayed.